package in.jvapps.disable_battery_optimization.bean;

import androidx.annotation.NonNull;

import io.flutter.plugin.common.MethodChannel;

public class MethodResult {
    private final String name;
    private final MethodChannel.Result result;

    public MethodResult(String name, MethodChannel.Result result) {
        this.name = name;
        this.result = result;
    }

    public String getName() {
        return name;
    }

    public MethodChannel.Result getResult() {
        return result;
    }

    @NonNull
    @Override
    public String toString() {
        return "MethodResult{" +
                "name='" + name +
                '}';
    }
}
